{include file="common/header" /}
<!-- 中间区域 -->

<div class="top_box">
    <div class="layui-main block1">
        <div class="t2">{$catInfo.keywords}</div>
        <div class="t1">{$catInfo.title}</div>
    </div>
    <div class="img1 img_100">
        <img class="" src="{$catInfo.logo}">
    </div>
</div>
<div class="product-right-nav">
    <p class="more-btn">查看更多产品<i ></i></p>
    <nav>
        <ul>
            <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>  <a class="item">
                <div class="img_100">
                    <img src="/public/home/images/pic.png">
                </div>
                <p>XXXXXXXXXXXXXX</p>
            </a>
        </ul>
        
    </nav>
</div>
<main class="product">
    <section>
        <div class="layui-main">
            <div class="d-flex gap90 flex-wrap gap20-xs ">
                    <div class="product-details-swiper">
                 <div style="--swiper-navigation-color: #fff; --swiper-pagination-color: #fff" class="swiper mySwiper2">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide">
                            <div class="img_100">
                                <img src="/public/home/images/pic.png" />
                            </div>
                        </div>
                        <div class="swiper-slide">
                            <div class="img_100">
                                <img src="/public/home/images/pic.png" />
                            </div>
                        </div>
                        <div class="swiper-slide">
                            <div class="img_100">
                                <img src="/public/home/images/pic.png" />
                            </div>
                        </div>
                        <div class="swiper-slide">
                            <div class="img_100">
                                <img src="/public/home/images/pic.png" />
                            </div>
                        </div>
                        <div class="swiper-slide">
                            <div class="img_100">
                                <img src="/public/home/images/pic.png" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="thum-box d-grid  layui-hide-xs">
                    
                    <div class="layui-icon layui-icon-up prev"></div>
                    <div thumbsSlider="" class="swiper mySwiperThum">
                        <div class="swiper-wrapper">
                            <div class="swiper-slide">
                                <div class="img_100">
                                    <img src="/public/home/images/pic.png" />
                                </div>
                            </div>
                            <div class="swiper-slide">
                                <div class="img_100">
                                    <img src="/public/home/images/pic.png" />
                                </div>
                            </div>
                            <div class="swiper-slide">
                                <div class="img_100">
                                    <img src="/public/home/images/pic.png" />
                                </div>
                            </div>
                            <div class="swiper-slide">
                                <div class="img_100">
                                    <img src="/public/home/images/pic.png" />
                                </div>
                            </div>
                            <div class="swiper-slide">
                                <div class="img_100">
                                    <img src="/public/home/images/pic.png" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-icon layui-icon-down next"></div>
                </div>
            </div>
           <div class="product-infot flex-1">
               <h1 class="ft30 pt30 pb30">{$article.title}</h1>
                <p class="mb30">{$article.subtitle|raw|nl2br}</p>
                <dl>
                        <dd>编号：XXXXXXXXXXXX</dd>
                        <dd>名称：XXXXXXXXXXXX</dd>
                        <dd>型号：XXXXXXXXXXXX</dd>
                        <dd>品牌：XXXXXXXXXXXX</dd>
                        <dd>最小包装：XXXXXXXXXXXX</dd>
                        <dd>最低起售：XXXXXXXXXXXX</dd>
                        <dd>库存种类：XXXXXXXXXXXX</dd>
                        <dd>重量 ：XXXXXXXXXXXX</dd>
                        <dd>简介：XXXXXXXXXXXX</dd>
                        <dd>种类：XXXXXXXXXXXX</dd>
                        <dd>材质：XXXXXXXXXXXX</dd>
                        <dd>直径：XXXXXXXXXXXX</dd>
                        <dd>长度：XXXXXXXXXXXX</dd>
                        <dd>刃数 ：XXXXXXXXXXXX</dd>
                        <dd>冷却：XXXXXXXXXXXX</dd>
                        <dd>系列：XXXXXXXXXXXX</dd>
                        <dd>柄部：XXXXXXXXXXXX</dd>
                        <dd>详细尺寸：XXXXXXXXXXXX</dd>
                        <dd>涂层：XXXXXXXXXXXX</dd>
                    </dl>
                     <div class="more">
                         <button class="layui-btn">  <span>点击查看全部参数</span>
                     <i class="layui-icon layui-icon-down"></i></button>
                   
                 </div>
                 </div>
                
            </div>
        

        </div>
    </section>
    <h2>产品详情</h2>
    <section>
        <div class="layui-main ">
            <div class="s_content">
                {$article.content|raw|nl2br}
            </div>
        </div>
    </section>
</main>
<div class="order-confrim product-order-confrim">
    <div class="layui-main d-flex al-c jc-s">
        <div>购物车已选择<span data-count="all"> 1</span> 件产品</div>
        <div class="d-flex flex-column-xs gap40 gap20-xs al-c">
            <div class="num-box" data-type="number">
                <i lay-on="sub" class="layui-icon layui-icon-subtraction"></i>
                <input data-name="number" class="layui-input" value="18">
                <i lay-on="add" class="layui-icon layui-icon-addition"></i>
            </div>
            <div class="d-flex al-c br20">

                <button class="layui-btn">加入购物车</button>
                <button class="layui-btn red-btn">立即下单</button>
            </div>
        </div>

    </div>
</div>
<script src="__ROOT__/public/home/js/index.js"></script>
<script src="__ROOT__/public/home/js/swiper-bundle.min.js"></script>
<script>
    var swiper = new Swiper(".mySwiperThum", {
        loop: true,
        spaceBetween: 10,
        slidesPerView: 4,
        freeMode: true,
        watchSlidesProgress: true,
        direction: 'vertical',
    });
    var swiper2 = new Swiper(".mySwiper2", {
        loop: true,
        spaceBetween: 10,
        navigation: {
            nextEl: ".next",
            prevEl: ".prev",
        },
        thumbs: {
            swiper: swiper,
        },
    });
    $(document).on('click','.more',function () {
        $(this).remove()
        $('.product-infot ').css({
            height:'auto',
            
        })
    })
    $(document).on('click','.more-btn',function () {
        $('.product-right-nav').toggleClass('open')
    })
    
</script>

<!-- 中间区域结束 -->
{include file="common/footer" /}